<mat-card id="loginMatCard">
  <mat-card-title>Log In</mat-card-title>
  <mat-card-content>
    <form [formGroup]="form" (ngSubmit)="connect()">
      <mat-form-field>
        <mat-label>Your Name</mat-label>
        <input matInput placeholder="Ex: Kerry Jiang" formControlName="name" required>
      </mat-form-field>
      <button mat-raised-button type="submit" color="primary">Connect</button>  
    </form>    
  </mat-card-content>
</mat-card>